home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
pdcurs21.zip
/
NONPORT.ZIP
/
BREAKCHA.C
< prev
next >
Wrap
Text File
|
1992-11-21
|
1KB
|
48 lines
#define CURSES_LIBRARY 1
#include <curses.h>
#undef breakchar
#ifndef NDEBUG
char *rcsid_breakcha = "$Header: c:/curses/nonport/RCS/breakcha.c%v 2.0 1992/11/15 03:18:25 MH Rel $";
#endif
/*man-start*********************************************************************
breakchar() - Return's user's current break character.
PDCurses Description:
This routine will return the current BREAK char. This is a
routine and not a macro in anticipation of providing
user-specified BREAK chars.
PDCurses Return Value:
The (chtype) character value that is the user's current break
character. This is currently hardcoded, but provided in
anticipation of providing support for a user defined break char.
PDCurses Errors:
No errors are defined for this function.
Portability:
PDCurses chtype breakchar(void);
BSD Curses
SYS V Curses
**man-end**********************************************************************/
chtype breakchar(void)
{
#ifdef FLEXOS
return( (chtype) 0x03 );
#endif
#ifdef DOS
return( (chtype) 0x03 ); /* Control-C */
#endif
#ifdef OS2
return( (chtype) 0x03 ); /* Control-C */
#endif
}